//
//  LocalityPlistRead.m
//  DreamSoftReimburse
//
//  Created by ZJ on 17/4/20.
//  Copyright © 2017年 ZJ. All rights reserved.
//

#import "LocalityPlistRead.h"

@implementation LocalityPlistRead


+ (NSDictionary *)dictWithReadPlistName:(NSString *)plistName ofType:(NSString *)ofType{

    NSString *path = [[NSBundle mainBundle] pathForResource:plistName ofType:ofType];
    NSDictionary *dict = [NSDictionary dictionaryWithContentsOfFile:path];
    return dict;
}

+ (NSArray *)arrayWithReadPlistName:(NSString *)plistName ofType:(NSString *)ofType{
    
    NSString *path = [[NSBundle mainBundle] pathForResource:plistName ofType:ofType];
    NSArray *array = [NSArray arrayWithContentsOfFile:path];
    return array;
}
@end
